package com.powernode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.powernode.domain.LoginSysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @Author 梁卓
 * @Version 1.0
 * @ClassName SysUserMapper
 * @Description TODO
 * @Date 2024/07/20 23:44
 */
@Mapper
public interface LoginSysUserMapper extends BaseMapper<LoginSysUser> {
    /**
     * 根据用户id查询用户权限
     * @param userId 用户id
     * @return 权限集合
     */
    Set<String> selectPermsByUserId(@Param("userId") Long userId);
}